//
//  DiskGesturePassword.h
//  newTestGit
//
//  Created by fangjs on 16/3/17.
//  Copyright © 2016年 Hongshi. All rights reserved.
//

#import <Foundation/Foundation.h>


static NSString *const KEY_CURRENT_UID = @"currentUid";

@interface DiskGesturePassword : NSObject

@property (nonatomic, strong) NSUserDefaults *userdefault;
+ (instancetype) shareDiskGestruePassword;

//判断密码是否存在
- (BOOL) isExistPassword:(NSString *) uid;

//判断磁盘中是否有密码
- (BOOL) diskContainsPassword;

//获取密码
- (NSString *) getPassword:(NSString *) uid;

//设置密码
- (void) setPassword:(NSString *) password withKey:(NSString *) uid;

//删除密码
- (void) removeUserPassword:(NSString *) uid;

@end
